﻿using Microsoft.AspNetCore.Builder;

namespace TodoList.Shared;

public static class ApplicationBuilderExtensions
{
	public static IApplicationBuilder UseSwaggerWithUi(this WebApplication app)
	{
		app.UseSwagger();
		app.UseSwaggerUI();
		return app;
	}
}
